package com.ymk.service.impl;

import com.ymk.base.mybatis.DaoRouter;
import com.ymk.bo.rbac.RbacRolePermBO;
import com.ymk.service.IRbacRolePermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 角色-权限表 服务实现类
 * </p>
 *
 * @author 莫参商
 * @since 2022-06-02
 */
@Service
public class RbacRolePermService implements IRbacRolePermService {


    @Override
    public void post(RbacRolePermBO param) {
        this.daoRouter.insert("ARbacRolePerm.insertRbacRolePerm",param);
    }


    @Override
    public void del(RbacRolePermBO param) {
        this.daoRouter.update("RbacRolePerm.dropRbacRolePerm",param);
    }

    @Autowired
    private DaoRouter daoRouter;

}
